<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title></title>
    <script type="text/javascript">
        setInterval(function () {
            $.ajax({
                url: "http://localhost:6667/indexManager/engine/speed.do",
                type: "get",
                dataType: "json",
                success: function (data) {
//                            var x = (new Date()).getTime(), // current time
//                                y = Math.random();
                    alert("shuffleReadRecords:" + data.stageJson.shuffleReadRecords + " executorRunTime:" + data.stageJson.executorRunTime);
                }, error: function () {
                    alert("error");
                }
            });
        }, 10000);
    </script>
</head>
<body>